// 1.引入相应的模板
import Mock from 'mockjs'
import banner from './banner.json'
import floors from './floors.json'

// 2. 配置服务
// Mock.mock(url,method,data)
Mock.mock('/mock/banner', 'get', { code: 200, message: 'OK', data: banner })
Mock.mock('/mock/floors', 'get', { code: 200, message: 'OK', data: floors })
